cmake_minimum_required(VERSION 3.20)

set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake)

project(vcpkg_demo)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)

aux_source_directory(src src)

find_package(fmt CONFIG REQUIRED)

add_executable(a ${src})

target_include_directories(a PRIVATE inc)

target_link_libraries(a PRIVATE fmt::fmt)